﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 电缆线路
    /// </summary>
    [Serializable]
    [EntityMapping(TableName = "EM_Line")]
    public class EM_Line
    {
        [EntityMapping(IsKey = true, ColumnName = "EM_LineID")]
        public string EM_LineID { get; set; }

        [EntityMapping(ColumnName = "DeviceID")]
        public string DeviceID { get; set; }

        /// <summary>
        /// 载流量
        /// </summary>
        [EntityMapping(ColumnName = "CARRCAP")]
        public string CARRCAP { get; set; }

        /// <summary>
        /// 直流电阻
        /// </summary>
        [EntityMapping(ColumnName = "RESISTANCE")]
        public string RESISTANCE { get; set; }

        /// <summary>
        /// 电容
        /// </summary>
        [EntityMapping(ColumnName = "CAPACITANCE")]
        public string CAPACITANCE { get; set; }

        /// <summary>
        /// 正序阻抗
        /// </summary>
        [EntityMapping(ColumnName = "POSISEQU")]
        public string POSISEQU { get; set; }

        /// <summary>
        /// 零序阻抗
        /// </summary>
        [EntityMapping(ColumnName = "ZEROSEQU")]
        public string ZEROSEQU { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        [EntityMapping(ColumnName = "LENGTH")]
        public string LENGTH { get; set; }

        /// <summary>
        /// 运行环境ID
        /// </summary>
        [EntityMapping(ColumnName = "RUNENVI")]
        public string RUNENVI { get; set; }

        /// <summary>
        /// 施工单位ID
        /// </summary>
        [EntityMapping(ColumnName = "CONS_ID")]
        public string CONS_ID { get; set; }

        /// <summary>
        /// 线路名称
        /// </summary>
        [EntityMapping(ColumnName = "LINENAME")]
        public string LINENAME { get; set; }

        /// <summary>
        /// 首端变电站
        /// </summary>
        [EntityMapping(ColumnName = "BEGINSUBS")]
        public string BEGINSUBS { get; set; }

        /// <summary>
        /// 首端调度号
        /// </summary>
        [EntityMapping(ColumnName = "BEGINSCHE")]
        public string BEGINSCHE { get; set; }

        /// <summary>
        /// 末段变电站
        /// </summary>
        [EntityMapping(ColumnName = "ENDSUBS")]
        public string ENDSUBS { get; set; }

        /// <summary>
        /// 末段调度号
        /// </summary>
        [EntityMapping(ColumnName = "ENDSCHE")]
        public string ENDSCHE { get; set; }

        /// <summary>
        /// 起点
        /// </summary>
        [EntityMapping(ColumnName = "STARTPOS")]
        public string STARTPOS { get; set; }

        /// <summary>
        /// 终点
        /// </summary>
        [EntityMapping(ColumnName = "ENDPOS")]
        public string ENDPOS { get; set; }

        /// <summary>
        /// 段数
        /// </summary>
        [EntityMapping(ColumnName = "PARAGRAPH")]
        public string PARAGRAPH { get; set; }

        /// <summary>
        /// 首端变电站id
        /// </summary>
        [EntityMapping(ColumnName = "BEGINSUBSID")]
        public string BEGINSUBSID { get; set; }

        /// <summary>
        /// 终止站ID
        /// </summary>
        [EntityMapping(ColumnName = "ENDSUBSID")]
        public string ENDSUBSID { get; set; }

        /// <summary>
        /// 运行电流测点
        /// </summary>
        [EntityMapping(ColumnName = "TESTDOTCODE")]
        public string TESTDOTCODE { get; set; }

        /// <summary>
        /// 运行环境
        /// </summary>
        [EntityMapping(ColumnName = "RUNENVINAME")]
        public string RUNENVINAME { get; set; }

        /// <summary>
        /// 保障等级
        /// </summary>
        [EntityMapping(ColumnName = "SECURITYLEVEL")]
        public string SECURITYLEVEL { get; set; }

        /// <summary>
        /// T接线路名称
        /// </summary>
        [EntityMapping(ColumnName = "TAPPEDLINE")]
        public string TAPPEDLINE { get; set; }

        /// <summary>
        /// 是否T接线路
        /// </summary>
        [EntityMapping(ColumnName = "ISTAPPED")]
        public string ISTAPPED { get; set; }

        /// <summary>
        /// T接点位置描述
        /// </summary>
        [EntityMapping(ColumnName = "TAPPEDPLACEDESC")]
        public string TAPPEDPLACEDESC { get; set; }

        /// <summary>
        /// 高预警阈值
        /// </summary>
        [EntityMapping(ColumnName = "HIGHTWARNING")]
        public string HIGHTWARNING { get; set; }

        /// <summary>
        /// 高报警阈值
        /// </summary>
        [EntityMapping(ColumnName = "HIGHTALARM")]
        public string HIGHTALARM { get; set; }

        /// <summary>
        /// 实时线路有功测点
        /// </summary>
        [EntityMapping(ColumnName = "REAL_YC_P")]
        public string REAL_YC_P { get; set; }

        /// <summary>
        /// 实时线路无功测点
        /// </summary>
        [EntityMapping(ColumnName = "REAL_YC_Q")]
        public string REAL_YC_Q { get; set; }

        /// <summary>
        /// 施工单位
        /// </summary>
        [EntityMapping(ColumnName = "CONS_NAME")]
        public string CONS_NAME { get; set; }

        /// <summary>
        /// 出站点线路类型 。 架空/电缆
        /// </summary>
        [EntityMapping(ColumnName = "OUTPOINTTYPE")]
        public string OUTPOINTTYPE { get; set; }

        /// <summary>
        /// 进站点线路类型 。 架空/电缆
        /// </summary>
        [EntityMapping(ColumnName = "INPOINTTYPE")]
        public string INPOINTTYPE { get; set; }

        /// <summary>
        /// 线路类型。架空/电缆/混架
        /// </summary>
        [EntityMapping(ColumnName = "LINESTYPE")]
        public string LINESTYPE { get; set; }

    }
}
